package com.yupi.yuoj.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员特权配置
 * @TableName member_privileges
 */
@TableName(value ="member_privileges")
@Data
public class MemberPrivileges implements Serializable {
    
    private static final long serialVersionUID = 1L;
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 特权标识
     */
    @TableField("privilege_key")
    private String privilegeKey;

    /**
     * 特权名称
     */
    @TableField("privilege_name")
    private String privilegeName;

    /**
     * 特权描述
     */
    @TableField("privilege_desc")
    private String privilegeDesc;

    /**
     * 特权图标
     */
    @TableField("privilege_icon")
    private String privilegeIcon;

    /**
     * 所需会员类型：1月度会员 2年度会员 3终身会员
     */
    @TableField("required_member_type")
    private Integer requiredMemberType;

    /**
     * 是否启用
     */
    @TableField("is_active")
    private Integer isActive;

    /**
     * 排序
     */
    @TableField("sort_order")
    private Integer sortOrder;

    /**
     * 
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 
     */
    @TableField("updated_at")
    private Date updatedAt;
}